package com.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzl
 * @since 2022-09-01
 */
@TableName("t_goods_shop")
@ApiModel(value = "GoodsShop对象", description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsShop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品id")
    private String goodsId;

    @ApiModelProperty("店铺id")
    private Integer sid;

    @ApiModelProperty("进价")
    private String purchaseprice;

    @ApiModelProperty("售价")
    private String sellingprice;

    @ApiModelProperty("库存数量")
    private Integer count;

    @ApiModelProperty("逻辑删除 1（true）已删除， 0（false）未删除")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty("更新时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty("上架状态")
    private Integer state;


}
